package gat.dto.req.backgroundUser;

import java.io.Serializable;

import org.springframework.validation.annotation.Validated;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author: tmac
 * @email: tmac
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class BackgroundUserReqParams  implements Serializable{
    private static final long serialVersionUID = 1L;



    /**
     * 用户编码 varchar
     */
    @ApiModelProperty(value = "用户编码")
    @JsonProperty(index = 140)
    private String userCode;

    /**
     * 手机号 VARCHAR
     */
    @ApiModelProperty(value = "手机号")
    @JsonProperty(index = 10)
    private String phone;
    /**
     * 用户名 VARCHAR
     */
    @ApiModelProperty(value = "用户名")
    @JsonProperty(index = 20)
    private String username;
    /**
     * 密码 VARCHAR
     */
    @ApiModelProperty(value = "密码")
    @JsonProperty(index = 30)
    private String password;

    /**
     * google验证码
     */
    @ApiModelProperty(value = "google验证码")
    @JsonProperty(index = 100)
    private Integer secretCode;
    /**
     * 昵称 VARCHAR
     */
    @ApiModelProperty(value = "昵称")
    @JsonProperty(index = 40)
    private String nickname;
    /**
     * 真实姓名 VARCHAR
     */
    @ApiModelProperty(value = "真实姓名")
    @JsonProperty(index = 50)
    private String realName;
    /**
     * 头像 VARCHAR
     */
    @ApiModelProperty(value = "头像")
    @JsonProperty(index = 60)
    private String headPic;
    /**
     * 账户状态 SMALLINT
     */
    @ApiModelProperty(value = "账户状态")
    @JsonProperty(index = 70)
    //todo: 请检查此属性的取值范围（可使用@In或@InOrNull来限定取值）

    private Integer status;

    /**
     * 验证码 VARCHAR
     */
    @ApiModelProperty(value = "验证码")
    private String code;

    /**
     * 当前页 int
     */
    @ApiModelProperty(value = "当前页")
    @JsonProperty(index = 110)
    private Integer currentPage = 0;
    /**
     * 页面大小 int
     */
    @ApiModelProperty(value = "页面大小")
    @JsonProperty(index = 110)
    private Integer pageSize = 10;


}






